package com.collection.util;

import com.collection.dto.ResponseDTO;

public class ResponseUtil {
	public static ResponseDTO packageResponse(ResponseDTO rsp,ReturnCode r){
		rsp.setMsg(r.getMsg());
		rsp.setResults(r.getCode());
		rsp.setTimestamp(String.valueOf(System.currentTimeMillis()));
		return rsp;
	}
}
